Stops the device.
| BOOL BASS_WASAPI_Stop( BOOL reset ); |
Parameters
| reset | Flush the device buffer? |
Return value
If successful, then TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
| BASS_ERROR_INIT | BASS_WASAPI_Init has not been successfully called. |
| BASS_ERROR_UNKNOWN | Some other mystery problem! |
Remarks
If the device buffer is left unflushed (reset=FALSE), a subsequent BASS_WASAPI_Start call will resume things with the buffered data, otherwise it will resume with fresh data.
When using multiple devices, the current thread's device setting (as set with BASS_WASAPI_SetDevice) determines which device this function call applies to.
See also
BASS_WASAPI_IsStarted, BASS_WASAPI_Start